/*
 This Include File "Save_Business.h" 
 Genenated By
 Application <comAction> v1.0 
 with the com file "Save_Business.def".
 Create: Mon Jun 26 17:12:44 2017
*/

#ifndef _ABRCP_Save_Business_H_
#define _ABRCP_Save_Business_H_

#include "ABRCP.h"

typedef struct {
	long	trans_no;
	long	cycle_no;
	long	recv_trans_no;
	long	recv_cycle_no;
	char	process_code[9];
	char	card_category[5];
	char	card_type[3];
	char	card_no[21];
	char	card_no2[21];
	char	acc_type[4];
	char	merchant_no[21];
	char	trans_type[3];
	char	auth_code[7];
	char	customer_id[10];
	char	name[21];
	char	addr[41];
	char	post_code[9];
	char	id_type[3];
	char	personal_id[21];
	char	name2[41];
	char	id_type2[3];
	char	personal_id2[21];
	char	cert_no[15];
	char	tel_code[21];
	char	mode[2];
	char	stored_passwd[17];
	char	trans_acc[37];
	char	trans_oth_acc[37];
	char	subject_no[8];
	char	deposit_type[3];
	char	server_mode[2];
	char	summary[7];
	char	trans_node[17];
	char	origin_agency[12];
	char	agent_agency[12];
	char	account_state[3];
	char	cash_or_bill_flag[2];
	char	turn_flag[2];
	char	remote_trans_flag[2];
	char	open_date[11];
	char	interested_date[11];
	char	due_date[11];
	char	trans_date[11];
	double	trans_booking_amt;
	short	deposit_period;
	short	trans_interval;
	short	set_times;
	long	trans_jnls_no;
	short	printed_cnt;
	short	unprint_cnt;
	char	summary_name[11];
	char	trans_agency[12];
	double	trans_amt;
	double	interest;
	short	detail_cnt;
	double	rate;
	double	last_balance;
	double	balance;
	double	aggr;
	double	over_amt;
	double	total_over;
	char	currency_type[3];
	char	currency_type2[3];
	char	cash_or_spot[3];
	char	cash_or_spot2[3];
	double	exchange_rate;
	double	exchange_rate2;
	char	begin_lottery_num[10];
	char	end_lottery_num[10];
	double	bonus;
	double	oth_amt;
	double	fee_amt;
	char	nation_debt_name[21];
	char	open_amt_flag[2];
	char	trans_info[21];
	long	response_code;
	char	tty_no[21];
	char	operator[7];
	char	operator_PIN[17];
	char	author[7];
	char	author_PIN[17];
	char	district_code[6];
	char	sub_bank_code[3];
	char	exchange_code[6];
} Save_Business;
int ABRCP_pkg_Save_Business(void *v_data, char *buf, int buflen, int *useP, int in_out);
#endif
